package com.dolphin.common.expr.emus;

import lombok.Getter;

/**
 * @author shida
 */
@Getter
public enum ModelTimeTypeEnum {
    SECOND("秒", "SECOND", Integer.valueOf(0)),
    MIN("分钟", "MIN", Integer.valueOf(1)),
    HOUR("小时", "HOUR", Integer.valueOf(2)),
    DAY("天", "DAY", Integer.valueOf(3)),
    WEEK("周", "WEEK", Integer.valueOf(4)),
    MONTH("月", "MONTH", Integer.valueOf(5))
    ;

    private String code;
    private String description;
    private Integer id;


    ModelTimeTypeEnum(String description, String code,  Integer id) {
        this.code = code;
        this.description = description;
        this.id = id;
    }
}
